<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker,css-layout,ace-style"></t:base>
 <script src ="webpage/main/home.js?1"></script>	
<div m-role="cell" m-mode="y" m-layout="fit">

			<div class="col-sm-7 infobox-container" style="cursor: pointer;">
				<div id="storeDiv" class="infobox infobox-green ">
					<div class="infobox-icon">
						<i class="ace-icon fa fa-home"></i>
					</div>

					<div class="infobox-data">
						<span class="infobox-data-number">3200</span>
						<div class="infobox-content">
							库存
						</div>
					</div>

				</div>

				<div id="userDiv" class="infobox infobox-blue  ">
					<div class="infobox-icon">
						<i class="ace-icon fa fa-users"></i>
					</div>

					<div class="infobox-data">
						<span class="infobox-data-number">11</span>
						<div class="infobox-content">
							用户数
						</div>
					</div>

				</div>

				<div id="orderDiv" class="infobox infobox-pink  ">
					<div class="infobox-icon">
						<i class="ace-icon fa fa-shopping-cart"></i>
					</div>

					<div class="infobox-data">
						<span class="infobox-data-number">8</span>
						<div class="infobox-content">
							新订单
						</div>
					</div>

				</div>

				<div id="inputDiv" class="infobox infobox-orange2  ">
					<div class="infobox-icon">
						<i class="ace-icon fa fa-money"></i>
					</div>

					<div class="infobox-data">
						<span class="infobox-data-number">6,251</span>
						<div class="infobox-content">
							收入
						</div>
					</div>


				</div>

				<div id="outputDiv" class="infobox infobox-orange2  ">
					<div class="infobox-icon">
						<i class="ace-icon fa fa-signal"></i>
					</div>

					<div class="infobox-data">
						<span class="infobox-data-number">6,251</span>
						<div class="infobox-content">
							支出
						</div>
					</div>


				</div>


				<div class="space-1"></div>

				<div id="newOrderDiv" class="infobox infobox-green infobox-small infobox-dark">
					<div class="infobox-icon">
					<i class="ace-icon fa fa-pencil"></i>
						 
					</div>

					<div class="infobox-data">
						<div class="infobox-content">
							新建订单
						</div>

					</div>
				</div>

				<div id="waitingDiv" class="infobox infobox-blue infobox-small infobox-dark">
					<div class="infobox-icon">
						<i class="ace-icon fa fa-folder"></i>
					</div>

					<div class="infobox-data">
						<div class="infobox-content">
							待办订单
						</div>
						<div class="infobox-content">
							320
						</div>
					</div>
				</div>

				<div class="infobox infobox-grey infobox-small infobox-dark">
					<div class="infobox-icon">
						<i class="ace-icon fa fa-folder-open-o"></i>
					</div>

					<div id="finishedDiv" class="infobox-data">
						<div class="infobox-content">
							已办订单
						</div>
						<div class="infobox-content">
							1205
						</div>
					</div>
				</div>
			</div>

		
		</div>
	<div m-role="cell" style="height:440px;margin-right:15px;">
		<t:datagrid name="companyList" checkbox="true" fitColumns="true"
			actionUrl="companyController.do?datagrid" idField="id" fit="true"
			queryMode="group">
			<t:dgCol title="主键ID" field="id" hidden="true" queryMode="group"
				width="120"></t:dgCol>
			<t:dgCol title="公司名称" field="companyName" queryMode="single"
				width="120" query="true"></t:dgCol>
			<t:dgCol title="公司编码" field="companyCode" queryMode="group"
				width="120"></t:dgCol>
			<t:dgCol title="公司地址" field="companyAddr" queryMode="group"
				width="120"></t:dgCol>
			<t:dgCol title="公司电话" field="companyTel" queryMode="group"
				width="120"></t:dgCol>
			<t:dgCol title="备注" field="remark" queryMode="group" width="120"></t:dgCol>
			<t:dgCol title="操作" field="opt" width="100"></t:dgCol>
			<t:dgDelOpt title="删除" url="companyController.do?doDel&id={id}" />
			<t:dgToolBar title="录入" icon="icon-add"
				url="companyController.do?goAdd" funname="add"></t:dgToolBar>
			<t:dgToolBar title="编辑" icon="icon-edit"
				url="companyController.do?goUpdate" funname="update"></t:dgToolBar>
			<t:dgToolBar title="查看" icon="icon-search"
				url="companyController.do?goUpdate" funname="detail"></t:dgToolBar>

		</t:datagrid>
		</div>
